package com.yhsoft.mall.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class TopUpBarContentLIstInVo {

    @ApiModelProperty("充值类型(1:话费充值;2:星巴克充值;3:其他充值)")
    @NotNull(message = "充值类型不能为空")
    private Integer topUpType;


    @ApiModelProperty("排序")
    @NotNull(message = "排序不能为空,不需要的话补0")
    private Integer orderBy;

    @Override
    public String toString() {
        return "{" +
                "\""+ "topUpType"+"\":" + "\""+ topUpType+"\"" +
                "," + "\""+"orderBy"+"\":" +"\""+ orderBy +"\"" +
                "}";
    }
}
